package com.aaa.mapper;

import com.aaa.entity.Role;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author Administrator
* @description 针对表【role】的数据库操作Mapper
* @createDate 2024-12-25 09:33:07
* @Entity com.aaa.entity.Role
*/
public interface RoleMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    List<Role> selectAll();
    List<Role> selectAll2();

}
